package cn.xy.base.server.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * OSS配置
 *
 * @author xy
 */
@Data
@Component
public class OSSConfig {
    @Value("${oss.bucketName}")
    private String bucketName;

    @Value("${oss.accessUrl}")
    private String accessUrl;

    @Value("${oss.accessKeyId}")
    private String accessKeyId;

    @Value("${oss.accessKeySecret}")
    private String accessKeySecret;

    @Value(("${oss.endPoint}"))
    private String endPoint;

    @Value(("${oss.path}"))
    private String path;
}
